<template>
  <el-pagination
    v-bind="$attrs"
    v-on="$listeners"
    :page-size="pageData.size"
    :current-page="pageData.page"
    :layout="layout"
    :total="pageData.total"
  />
</template>

<script>
export default {
  props: {
    pageData: {
      type: Object,
      default() {
        return {};
      },
    },
    layout: {
      type: String,
      default: "total,sizes, prev, pager, next, jumper",
    },
  },
};
</script>
